home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / shrlk201.zip / _SETUP.1 / Tester.cpp < prev    next >
C/C++ Source or Header  |  1997-07-22  |  802b  |  25 lines

  1. //---------------------------------------------------------------------------
  2. #include <vcl\vcl.h>
  3. #pragma hdrstop
  4. //---------------------------------------------------------------------------
  5. USEFORM("Test.cpp", frmTester);
  6. USERES("Tester.res");
  7. USEFORM("Help.cpp", frmAboutTester);
  8. //---------------------------------------------------------------------------
  9. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  10. {
  11.     try
  12.     {
  13.         Application->Initialize();
  14.         Application->CreateForm(__classid(TfrmTester), &frmTester);
  15.         Application->CreateForm(__classid(TfrmAboutTester), &frmAboutTester);
  16.         Application->Run();
  17.     }
  18.     catch (Exception &exception)
  19.     {
  20.         Application->ShowException(&exception);
  21.     }
  22.     return 0;
  23. }
  24. //---------------------------------------------------------------------------
  25.